<span class="rating_stars <?= $model->rating_approved ? 'stars_'.str_replace('.', '', $model->rating_approved) : 'no_rating' ?>"><?= $model->rating_approved ? $model->rating_approved : 'no rating' ?></span> 